package yu.code.consumer.serializer;

import yu.code.yurpc.serializer.Serializer;

import java.io.IOException;

/**
 * 测试用户自定义序列化器
 */
public class XXXSerializer implements Serializer {
    @Override
    public <T> byte[] serialize(T obj) throws IOException {
        return new byte[0];
    }

    @Override
    public <T> T deserialize(byte[] data, Class<T> clazz) throws IOException {
        return null;
    }
}
